
public class WriteFile {
    public void write(String fileName, String content){
        System.out.println("写入文件: " + fileName);
        // 写入文件内容的代码
    }
}